package edu.bit.water.dao;

import java.util.ArrayList;
import java.util.List;

import edu.bit.water.entity.MetaEvaWbalTest;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Repository;

import edu.bit.water.entity.Column;
import edu.bit.water.entity.MetaEvaCtestSum;

@Mapper
@Repository
public interface MetaEvaCtestSumDao {
	ArrayList<MetaEvaCtestSum> queryMetaEvaCtestSum();
	MetaEvaCtestSum queryMetaEvaCtestSumByCsName(String csName);
	int queryColumnNumByFaLevel(int faLevel);
	int insertMetaEvaCtestSum(MetaEvaCtestSum metaSensor) throws DuplicateKeyException;
	int deleteMetaEvaCtestSum(String enName);
	int updateMetaEvaCtestSum(MetaEvaCtestSum metaEvaCtestSum);
	List<Column> selectColumn();//EntityEvaCtestSum
	List<Column> selectColumnByFlevel(int fLevel);
	List<Column> selectColumnNotByFlevel();
	
	
}
